#从缓存加载弓
summon armor_stand ~ ~ ~ {Tags:["summon"],HandItems:[{id:"bow"},{}]}

$data modify entity @n[tag=summon,type=armor_stand,distance=..1] HandItems[0].components merge from storage dab:system gameContents.bow[{id:"$(id)"}].cache.components
$data modify entity @n[tag=summon,type=armor_stand,distance=..1] HandItems[0].components."minecraft:custom_data".can_use_count set value $(can_use_count)
execute as @n[tag=summon,type=armor_stand,distance=..1] run item modify entity @s weapon.mainhand dab:display_can_use/update_from_as_cache

summon item ~ ~ ~ {Tags:[temp],Item:{id:"poisonous_potato"}}
data modify entity @n[tag=temp,type=item,distance=..1] Item set from entity @n[tag=summon,type=armor_stand,distance=..1] HandItems[0]

tag @n[tag=temp] remove temp
kill @n[tag=summon,distance=..1,type=armor_stand]